package net.chrisrichardson.ec2deployer.core

class ProcessExecutionException extends RuntimeException {

    int exitValue
    String command
    
    ProcessExecutionException(String command, int exitValue) {
        super("Command <" + command + "> execution failed with an exitValue of " + exitValue)
        this.command = command
        this.exitValue = exitValue
    }

}